package com.glowdayz.glowmee.cmd;

import com.glowdayz.common.MultipartBox.FileInfo;

/** 브랜드배너 정보를 표현하는 Model 클래스 */
public class BrandBannerCMD {
	
	private int idBrandBanner;
	private int idBrand;
	private String idBrandValue;
	private String bannerTitle;
	private int bannerLinkType;
	private String bannerLinkCode;
	private int bannerImg;
	private int sortKey;
	private int isDisplay;
	private String create_date;
	private String modified_date;
	private FileInfo image;
	
	public BrandBannerCMD() {
	}
	
	/** 추가용 */
	public BrandBannerCMD(int idBrand, String bannerTitle, int bannerLinkType,
			String bannerLinkCode, int sortKey, FileInfo image) {
		super();
		this.idBrand = idBrand;
		this.bannerTitle = bannerTitle;
		this.bannerLinkType = bannerLinkType;
		this.bannerLinkCode = bannerLinkCode;
		this.sortKey = sortKey;
		this.image = image;
	}
	
	/** 리스트용 */
	public BrandBannerCMD(int idBrandBanner, String bannerTitle, int bannerLinkType, String bannerLinkCode,
			int bannerImg, int sortKey, int isDisplay, FileInfo image) {
		super();
		this.idBrandBanner = idBrandBanner;
		this.bannerTitle = bannerTitle;
		this.bannerLinkType = bannerLinkType;
		this.bannerLinkCode = bannerLinkCode;
		this.bannerImg = bannerImg;
		this.sortKey = sortKey;
		this.isDisplay = isDisplay;
		this.image = image;
	}
	
	/** 리스트용 xml */
	public BrandBannerCMD(int idBrandBanner, int bannerLinkType, String bannerLinkCode,
			int bannerImg, FileInfo image) {
		super();
		this.idBrandBanner = idBrandBanner;
		this.bannerLinkType = bannerLinkType;
		this.bannerLinkCode = bannerLinkCode;
		this.bannerImg = bannerImg;
		this.image = image;
	}
	
	/** 수정용 */
	public BrandBannerCMD(int idBrandBanner, String bannerTitle, int bannerLinkType, String bannerLinkCode,
			int sortKey, int isDisplay, FileInfo image) {
		super();
		this.idBrandBanner = idBrandBanner;
		this.bannerTitle = bannerTitle;
		this.bannerLinkType = bannerLinkType;
		this.bannerLinkCode = bannerLinkCode;
		this.sortKey = sortKey;
		this.isDisplay = isDisplay;
		this.image = image;
	}

	public BrandBannerCMD(int idBrandBanner, int idBrand, String idBrandValue,
			String bannerTitle, int bannerLinkType, String bannerLinkCode,
			int bannerImg, int sortKey, int isDisplay, String create_date,
			String modified_date, FileInfo image) {
		super();
		this.idBrandBanner = idBrandBanner;
		this.idBrand = idBrand;
		this.idBrandValue = idBrandValue;
		this.bannerTitle = bannerTitle;
		this.bannerLinkType = bannerLinkType;
		this.bannerLinkCode = bannerLinkCode;
		this.bannerImg = bannerImg;
		this.sortKey = sortKey;
		this.isDisplay = isDisplay;
		this.create_date = create_date;
		this.modified_date = modified_date;
		this.image = image;
	}

	public int getIdBrandBanner() {
		return idBrandBanner;
	}

	public void setIdBrandBanner(int idBrandBanner) {
		this.idBrandBanner = idBrandBanner;
	}

	public int getIdBrand() {
		return idBrand;
	}

	public void setIdBrand(int idBrand) {
		this.idBrand = idBrand;
	}

	public String getIdBrandValue() {
		return idBrandValue;
	}

	public void setIdBrandValue(String idBrandValue) {
		this.idBrandValue = idBrandValue;
	}

	public String getBannerTitle() {
		return bannerTitle;
	}

	public void setBannerTitle(String bannerTitle) {
		this.bannerTitle = bannerTitle;
	}

	public int getBannerLinkType() {
		return bannerLinkType;
	}

	public void setBannerLinkType(int bannerLinkType) {
		this.bannerLinkType = bannerLinkType;
	}

	public String getBannerLinkCode() {
		return bannerLinkCode;
	}

	public void setBannerLinkCode(String bannerLinkCode) {
		this.bannerLinkCode = bannerLinkCode;
	}

	public int getBannerImg() {
		return bannerImg;
	}

	public void setBannerImg(int bannerImg) {
		this.bannerImg = bannerImg;
	}

	public int getSortKey() {
		return sortKey;
	}

	public void setSortKey(int sortKey) {
		this.sortKey = sortKey;
	}

	public int getIsDisplay() {
		return isDisplay;
	}

	public void setIsDisplay(int isDisplay) {
		this.isDisplay = isDisplay;
	}

	public String getCreate_date() {
		return create_date;
	}

	public void setCreate_date(String create_date) {
		this.create_date = create_date;
	}

	public String getModified_date() {
		return modified_date;
	}

	public void setModified_date(String modified_date) {
		this.modified_date = modified_date;
	}

	public FileInfo getImage() {
		return image;
	}

	public void setImage(FileInfo image) {
		this.image = image;
	}

	@Override
	public String toString() {
		return "BrandBannerCMD [idBrandBanner=" + idBrandBanner + ", idBrand="
				+ idBrand + ", idBrandValue=" + idBrandValue + ", bannerTitle="
				+ bannerTitle + ", bannerLinkType=" + bannerLinkType
				+ ", bannerLinkCode=" + bannerLinkCode + ", bannerImg="
				+ bannerImg + ", sortKey=" + sortKey + ", isDisplay="
				+ isDisplay + ", create_date=" + create_date
				+ ", modified_date=" + modified_date + ", image=" + image + "]";
	}
}
